package com.ltu.model.request;


import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**  
 * @Description: 
 * @author: 若尘  
 * @date 2019年4月20日 下午3:10:06
 * @version V1.0  
 */
@Data
public class RedisRollbackObj extends CommonRequest{
	/* 订单号id */
	@ApiModelProperty(required=true,value="订单ID非空")
	@NotNull(message="订单ID非空")
	private String  thingId;
	/* 出售类型 */
	private Integer saleType;
	/* 订单类型： ProducrtOrder CardOrder ServiceOrder  */
//	@ApiModelProperty(required=false,hidden=true, value="RetailActiveSta RetailActiveEnd BatchActiveSta BatchActiveEnd")
	@ApiModelProperty(required=true, value="RetailActiveSta RetailActiveEnd BatchActiveSta BatchActiveEnd")
	private String tingType;
	public RedisRollbackObj(){
		super();
	}
	public RedisRollbackObj(String orderId,int saleType,String orderType){
		this.thingId=orderId;
		this.saleType=saleType;
		this.tingType=orderType;
	}
	
	
	
}
